/**
 * Project Name:dsrs-businessservice-domain
 * File Name:FileEditGrantSettingUpdateForm.java
 * Package Name:com.bwda.dsrs.businessservice.domain.form.fileeditgrantsetting;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 *
 */
package com.bwda.dsrs.filecenter.domain.form.fileeditgrantsetting;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 文件编辑授权
 *
 * @author liangjianyong
 * @date 2019/4/12
 */
@Data
@ApiModel(description = "文件编辑授权")
public class FileEditGrantSettingUpdateForm extends FileEditGrantBaseForm{

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "用户编号")
    private String userCode;

    @ApiModelProperty(value ="只读/编辑权限 0:只读 1：编辑")
    private Integer readonlyEditRight;

    @ApiModelProperty(value ="复制权限  0：禁止  1:允许")
    private Integer copyRight;

    @ApiModelProperty(value ="另存为权限  0：禁止  1:允许")
    private Integer saveAsRight;

    @ApiModelProperty(value ="打印权限  0：禁止  1:允许")
    private Integer printRight;

    @ApiModelProperty(value = "0全局1个人2组织3自定义组")
    private Integer userType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "状态  0:正常 1:禁用")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @Size(max = 140,message = "备注长度应在0-140之间")
    private String remark;

    @ApiModelProperty(value = "0未删除 1已删除")
    private Integer delFlag;

}
